package com.itheima.entity.vo;

import com.itheima.entity.Dish;
import com.itheima.entity.DishFlavor;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

/**
 * 菜品扩展实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DishVo extends Dish {

//     private DishFlavor dishFlavor;
     private List<DishFlavor> flavors = new ArrayList<>();

     private String  categoryName;

}
